import { Theme } from "./theme";
export default defineAppConfig({
  pages: [
    "pages/detail/index",

    "pages/add/index",

    "pages/chart/index",

    "pages/chartdetail/index",
    "pages/calender/index",
  ],
  window: {
    navigationBarTitleText: "日历",
    navigationBarBackgroundColor: Theme.secondaryColor,
    navigationBarTextStyle: "white",
  },
  tabBar: {
    backgroundColor: Theme.secondaryColor,
    selectedColor: Theme.selectText,
    color: "#fff",
    list: [
      {
        pagePath: "pages/detail/index",
        text: "明细",
        selectedIconPath: "./assets/liangfeimingxi-copy.png",
        iconPath: "./assets/liangfeimingxi.png",
      },
      {
        pagePath: "pages/add/index",
        text: "记账",
        selectedIconPath: "./assets/xinzeng-copy.png",
        iconPath: "./assets/xinzeng.png",
      },
      {
        pagePath: "pages/chart/index",
        text: "图表",
        selectedIconPath: "./assets/tubiao-copy.png",
        iconPath: "./assets/tubiao.png",
      },
      {
        pagePath: "pages/calender/index",
        text: "日历",
        iconPath: "./assets/rili1-copy.png",
        selectedIconPath: "./assets/rili1.png",
      },
    ],
  },
});
